export const SN_INDEX_COLUMNS = [
  {
    prop: 'sn',
    label: 'SN',
    isBatch: true,
    width: 220,
    render: {
      name: 'a-select',
      props: {
        allowClear: true,
        maxTagCount: 4,
        mode: 'tags',
        tokenSeparators: [' '],
        placeholder: '支持复制或输入关键词'
      }
    }
  },
  {
    prop: 'sku',
    label: 'SKU',
    isBatch: true,
    render: {
      name: 'a-select',
      props: {
        allowClear: true,
        maxTagCount: 4,
        mode: 'tags',
        tokenSeparators: [' '],
        placeholder: '支持复制或输入关键词'
      }
    }
  },
  {
    prop: 'productName',
    label: '商品名称',
    width: 220,
    render: {
      name: 'el-input'
    }
  },
  {
    prop: 'productSpec',
    label: '商品规格',
    width: 220
  },
  {
    prop: 'productType',
    label: '商品类别'
  },
  {
    prop: 'shipmentsOrder',
    label: '发货单',
    width: 220,
    render: {
      name: 'el-input'
    },
    slot: 'shipmentsOrder'
  },
  {
    prop: 'warehouseOrder',
    label: '入库单',
    slot: 'warehouseOrder',
    render: {
      name: 'el-input'
    }
  },
  {
    prop: 'supplier',
    label: '供应商',
    hiddenColumn: true,
    width: 220,
    render: {
      name: 'el-input'
    }
  },
  {
    prop: 'customer',
    hiddenColumn: true,
    label: '客户',
    render: {
      name: 'el-input'
    }
  },
  {
    prop: 'createUser',
    label: '创建人'
  },
  {
    prop: 'createTime',
    label: '创建日期',
    render: {
      name: 'el-date-picker',
      props: {
        type: 'datetimerange',
        format: 'YYYY-MM-DD HH:mm:ss',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
        style: 'width:100%'
      }
    }
  }
]

export const SN_WAREHOUSING_OUT_COLUMNS = [
  {
    prop: 'outOrder',
    label: '出库单'
  },
  {
    prop: 'customer',
    label: '客户/店铺'
  },
  {
    prop: 'outAcceptDate',
    label: '出库时间'
  }
]
export const SN_WAREHOUSING_ENTRY_COLUMNS = [
  {
    prop: 'inOrder',
    label: '入库单'
  },
  {
    prop: 'supplier',
    label: '供应商'
  },
  {
    prop: 'inAcceptDate',
    label: '入库时间'
  }
]
